package com.li.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.li.domain.User;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface UserService extends IService<User>{


    List<User> listQueryUser(User user,Integer page,Integer limit);

    Integer listQueryUserCount(User user);

    String addUser(User user);

    String updateUser(User user);

    void delUser(String userId);

    boolean delUsers(String userIds[]);

    boolean importFileAddUsers(MultipartFile uploadFile,Boolean addOrUpdate, HttpServletRequest req);

    String downloadUsers(HttpServletRequest req);

    String uploadAvatar(MultipartFile uploadFile, HttpServletRequest req);
}
